
import VueRouter from 'vue-router'
const routes = [
    { path: '/', redirect: '/home'},
    { path: '/home', component: () => import('@/pages/home/index.vue') },
    { path: '/table/:appId', name: 'FyTablePage', component: () => import('@/pages/table/index.vue') }
]

export const router = new VueRouter({
    routes // (缩写) 相当于 routes: routes
})